home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Contributed Scores
/
Mark Polishook
/
Herrick.4th.part
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
3KB
|
99 lines
(setq patrh '(d e f g h i j k l m n o p = = = = = = = = = = =))
(setq patvcl (append (symbol-trim 15 (symbol-transpose -5 patrh)) '(f e d c b a -b -c -e)))
(setq expand (filter-lowcut '-f (symbol-trim 96 (gen-expansion 3 '(a b)
(filter-delete '= patvcl)))))
(setq expand-invert (filter-lowcut '-b (symbol-inversion 'b (symbol-trim 84 (gen-expansion 3 '(a b)
(filter-delete '= (reverse patvcl)))))))
(init-soup 'soup1 expand 0.565555437463569)
(setq expand-var (gen-catalyze 'soup1 0.3602176894711318))
(init-soup 'soup2 expand-invert 0.09572122792455945)
(setq expand-var2 (gen-catalyze 'soup2 0.36634344662990354))
(init-soup 'soup3 (append expand expand-invert) 0.4757426195729517)
(setq expand-append (symbol-transpose 7 (gen-catalyze 'soup3 0.22113086488766837)))
(setq expand-append2 (gen-catalyze-variate '(transpose) 0.12039830682562934))
; (gen-noise-brownian 3 0.41235 0.1) ; generate 7 vectors for soup seeds
(setq expand-var-scale (symbol-scale '(-f m) expand-var))
(setq expand-var2-scale (symbol-scale '(-b p) expand-var2))
(setq expand-append-scale (symbol-scale '(-b x) expand-append))
(setq expand-append2-scale (symbol-scale '(-g q) expand-append2))
(setq expand-var-scale2 (symbol-scroll -12 (symbol-scale '(-f t) expand-var)))
(setq expand-var2-scale2 (symbol-scroll -17 (symbol-scale '(-b w) expand-var2)))
(setq expand-append-scale2 (symbol-scale '(-b _) expand-append))
(setq expand-append2-scale2 (symbol-scale '(-g x) expand-append2))
(setq patlh '(e f e f e f))
(setq vel1 '(60 24 24))
; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
(def-symbol
vln (list '(c) '(c) expand-append expand-append-scale expand-append-scale2)
vcl (list '(=) patvcl '(c) expand expand-var expand-var-scale expand-var-scale2)
rh (list '(=) patrh '(=) expand-invert expand-var2 expand-var2-scale expand-var2-scale2)
lh (list patlh patlh patlh patlh patlh patlh patlh expand-append2 expand-append2-scale expand-append2-scale2)
lh.b '((=) (a c = a -b) (=) (a-h -d -f = a-h -d -f -c-j = -c-j =) (= -b-i a-h =))
)
(def-length
vln '(1/4-3)
vcl '(1/4-3)
rh '(1/4-3)
lh '(1/4-3)
lh.b '((-1/1) (1/2 1/2 1/1 1/2 1/2) (-3/4) (1/2 1/4 3/4 1/2 1/2 1/4 1/4 1/2 1/2 1/2 1/2) (5/4 3/8 1/4 1/8))
)
(def-zone
vln '(32/1 -2/1 18/1 10/1 8/1)
vcl '(-63/4 8/1 -1/4 8/1 20/1 10/1 8/1)
rh '(-63/4 8/1 -5/4 7/1 20/1 10/1 8/1)
lh '(-1/1 9/1 -3/4 5/1 8/1 33/4 -4/1 16/1 10/1 8/1)
lh.b '(-1/1 9/1 -3/4 5/1 8/1)
)
(def-velocity
vln (list vel1 '(48) '(72) '(72) '(72))
vcl '((48) (48) (48) (48) (62) (62) (62))
rh '((48) (48) (48) (48) (62) (62) (62))
lh '((24) (24) (24) (24) (24) (24) (24) (60) (60) (60))
lh.b '(48)
)
(def-tonality
vln (activate-tonality (melodic-minor a 5))
vcl (activate-tonality (melodic-minor a 4))
rh (activate-tonality (melodic-minor a 5))
lh (activate-tonality '((melodic-minor a 4) (melodic-minor a 4) (melodic-minor a 4) (melodic-minor a 4)
(melodic-minor a 4) (melodic-minor a 4) (melodic-minor a 4) (melodic-minor a 3)
(melodic-minor a 3) (melodic-minor a 3)))
lh.b (activate-tonality (melodic-minor a 4))
)
(def-tempo 128)
(compile-instrument-p "ccl;output:" "herrick.4th.part"
vln
vcl
rh
lh
lh.b
)